package com.ruoyi.backend.enumClass;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;


@AllArgsConstructor
@NoArgsConstructor
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum sseVoEnum {
    LINK_SUCCESS(1,"连接成功"),
    INVERSION_ENTRE_QUEUE(2,"进入反演队列"),
    INVERSION_START(3,"开始反演"),
    INVERSION_SUCCESS(4,"反演成功"),
    INVERSION_FAIL(5,"反演失败"),
    INVERSION_NO_DATA(6,"无反演数据"),
    INVERSION_TOO_MANY_DATA(7,"反演数据过多,请等待"),
    INVERSION_DATABASE_ERROR(8,"数据库错误，请联系管理员"),
    INVERSION_SERVER_ERROR(9,"反演服务错误，请联系管理员");




    final String name = this.name();
    int code;
    String msg;
}
